package io.renren.wechat.service.suite.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.renren.wechat.common.WechatResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author dmcp@qq.com
 * @since 2021/11/17 21:57
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PermanentAuthInfoResponse extends WechatResponse {

    @JSONField(name = "access_token")
    private String accessToken;


    @JSONField(name = "expires_in")
    private Integer expiresIn;


    @JSONField(name = "permanent_code")
    private String permanentCode;


    @JSONField(name = "auth_corp_info")
    private AuthCorpInfo authCorpInfo;

    @JSONField(name = "auth_info")
    private AuthInfo authInfo;

}

